<%@page import="java.util.Enumeration"%>
<%@page import="com.oreilly.servlet.multipart.DefaultFileRenamePolicy"%>
<%@page import="com.oreilly.servlet.MultipartRequest"%>
<%@page import="bean.ScoreDTO"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
<link rel ='stylesheet' href ="./Js/score/board.css"/>
<script src="./Js/score/score.js"></script>
</head>
<body>








<jsp:useBean id="score" class = 'bean.ScoreVo' scope = 'page'/>
<jsp:setProperty property="*" name="score"/>
<%request.setCharacterEncoding("utf-8"); %>
<%
ScoreDTO dto =new ScoreDTO();
dto.setVo(score);
boolean b = dto.insert();
if(b){ 
	%>
	학년:<%= score.getGrade()%>
	점수:<%=score.getPoint()%>
	학교코드:<%=score.getScode()%>
	아이디:<%=score.getMid()%>
	시험날짜:<%=score.getExamdate()%>
	시험과목:<%=score.getExam()%>
<%
}else{%>
	<script type="text/javascript">alert("없다");</script>
<%}%>
 
<h1>성적 입력 결과</h1>
<input type='button' value = 목록가기 id = 'btnList'/>
<form name="hiddenFrm" method ="post">
	<input type="hidden"name ='nowPage' value='<%=score.getNowPage()%>'>
	<input type="hidden"name ='find' value='<%=score.getFind()%>'>

</form>

<script> inputInit();</script>
</body>
</html>